.aiContent {
  position: relative;
  width: 100%;
  height: 100%;
  :global {
    .title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
      .leftLogo {
        width: 118px;
        height: 25px;
        img {
          width: 100%;
          height: 100%;
        }
      }
      .right_op {
        display: flex;
        align-items: center;
        .close {
          margin-left: 10px;
          cursor: pointer;
          font-size: 17px;
        }
        .fullScreen {
          margin-left: 10px;
          cursor: pointer;
        }
        .clear {
          cursor: pointer;
        }
        .close:hover {
          color: #1e80ff;
        }
        .clear:hover {
          color: #1e80ff;
        }
        .fullScreen:hover {
          color: #1e80ff;
        }
      }
    }
    .centerBody::-webkit-scrollbar {
      width: 4px;
      height: 4px;
    }
    .centerBody::-webkit-scrollbar-thumb {
      border-radius: 5px;
      -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
      background-color: #99a9bf;
    }

    .centerBody::-webkit-scrollbar-track {
      -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
      border-radius: 5px;
      background-color: #d3dce6;
    }
    .centerBody {
      margin: 0 10px 80px 10px;
      height: calc(100% - 180px);
      overscroll-behavior: contain;
      overflow-y: auto;
      padding: 10px;
      .nochatContent {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        .titleIcon {
          display: flex;
          align-items: center;
          color: #0082ff;
          /*         margin-left: 20px; */
          .iconfont {
            font-size: 26px;
          }
          .nihao {
            margin-left: 5px;
          }
        }
        .titleTips {
          font-weight: 700;
          color: #2f2f2f;
          margin-top: 8px;
          /* margin-left: 20px; */
        }
        .tipsContent {
          display: flex;
          align-items: center;
          justify-content: center;
          flex-direction: column;
          position: absolute;
          color: #9299a7;
          font-size: 13px;
          bottom: 0;
          left: 50%;
          transform: translateX(-50%);
          width: max-content;
          a {
            color: #9299a7;
            text-decoration: underline;
            margin: 2px 0;
          }
          div {
            margin: 2px 0;
          }
        }
      }
      .centerBody_chat {
        display: flex;
        flex-direction: column;
        .dots {
          width: 2.5em;
          padding: 5px 0;
          display: flex;
          flex-flow: row nowrap;
          align-items: center;
          justify-content: space-between;
        }

        .dots div {
          width: 0.5em;
          height: 0.5em;
          border-radius: 50%;
          background-color: #0082ff;
          animation: fade 0.5s ease-in-out alternate infinite;
        }

        .dots div:nth-of-type(1) {
          animation-delay: -0.4s;
        }

        .dots div:nth-of-type(2) {
          animation-delay: -0.2s;
        }

        .Items {
          width: 100%;
        }
        .leftAi {
          display: flex;
          flex-direction: column;
          justify-content: start;
          background-color: #fff;
          padding: 10px;
          font-size: 13px;
          border-top-right-radius: 10px;
          border-bottom-right-radius: 10px;
          border-bottom-left-radius: 10px;
          margin-bottom: 20px;
          /* width: fit-content; */
          max-width: calc(100% - 20px);
          word-break: break-all;
          line-height: 25px;
          color: #2f2f2f;
          pre {
            white-space: pre-wrap; // 允许内容换行
            word-wrap: break-word; // 允许长单词换行
            word-break: break-all;
            code {
              white-space: pre;
            }
          }
          .stopStream {
            color: #9299a7;
            font-size: 13px;
            margin-top: 5px;
          }
        }
        .rightUser {
          display: flex;
          justify-content: flex-end;
          .message {
            display: flex;
            justify-content: flex-end;
            background-color: #0082ff;
            padding: 10px;
            font-size: 13px;
            line-height: 25px;
            border-top-left-radius: 10px;
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
            margin-bottom: 20px;
            color: #fff;
            word-break: break-all;
          }
        }
      }
    }
    .bottom_input {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      .input {
        display: flex;
        align-items: center;
        margin: 0 20px;
        min-height: 30px;
        border: 1px solid transparent;
        border-radius: 10px;
        padding: 4px;
        /* 设置背景剪裁区域为内边距和边框区域。 */
        background-clip: padding-box, border-box;
        /* 设置背景绘制区域为内边距和边框区域。 */
        transition: all 1s;
        background-origin: padding-box, border-box;
        background-image: linear-gradient(to right, #fff, #fff),
          linear-gradient(155deg, #cabbff, #ffdbb5);
        .left {
          flex: 1;
          flex-shrink: 0;
          textarea {
            border-radius: 10px;
            border: none;
            min-height: 30px !important;
          }
        }
        .rightBtn {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 40px;
          cursor: pointer;
          .icon {
            color: #0082ff !important;
            font-size: 18px;
          }
        }
      }
      .inputActive {
        background-image: linear-gradient(to right, #fff, #fff),
          linear-gradient(155deg, #451fcf, #f1912c);
      }
      .tips {
        display: flex;
        justify-content: center;
        margin-top: 4px;
        font-size: 10px;
        color: #c2c8d1;
      }
    }
  }
}
